package com.itheima.defineclass;

public class Test1 {
    public static void main(String[] args) {
//        Phone p1 = new Phone();
//        System.out.println(p1.brand+","+p1.price);
//        p1.brand = "华为";
        Student stu1 = new Student();
        stu1.name = "张三";
        stu1.age = 18;
        System.out.println(stu1.name+","+stu1.age);
        stu1.study();

        Student stu2 = new Student();
        stu2.name = "李四";
        stu2.age = 19;
        System.out.println(stu2.name+","+stu2.age);
        stu2.study();



    }
}
